const { join } = require("path");
const path = require("path");
var uploadplug = require(path.resolve('./','service/uploadplug'));
const appconf = require(path.join(__dirname, 'conf/project.conf'));
path.resolve('./','./../public/plugin_bak')
const { proxyArr }= require(path.join(__dirname, 'conf/app.conf'));

// uploadplug.unzipFile(path.resolve('./','./../public/plugin_bak/demo_1.0.0.zip'),path.resolve('./','./../public/plugin_bak/demo_1.0.0'));
// console.log(uploadplug.check({"filename":"demo_1.0.0/output"}));

// uploadplug.newPlug("demo_1.0.0/output");

// uploadplug.uploadPlug("demo_1.0.0/output");
// console.log(JSON.stringify(uploadplug.judgeUporIn("0c600970-48d0-11eb-896a-93be70ad0b48")));

async function abc(){
    let strtest = 'class:93838'
    console.log(strtest.indexOf('class:'))
    console.log(strtest.substr(6,strtest.length))
}
abc();